package com.cl.erp.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cl.erp.entity.SysUser;
import com.cl.erp.service.SysUserService;
import com.cl.erp.mapper.SysUserMapper;
import org.springframework.stereotype.Service;

/**
* @author KuroNeko
* @description 针对表【sys_user(用户表)】的数据库操作Service实现
* @createDate 2022-03-10 14:01:01
*/
@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser>
    implements SysUserService{

    @Override
    public SysUser findOneByUsername(String username) {
        return getBaseMapper().findOneByUsername(username);
    }
}




